package util;

public class MathHelper {
	public static int sign(float f) {
		return f==0? 0: f>0 ? 1:-1;
	}
	
	public static float delta(float f1, float f2) {
		return abs(abs(f1) - abs(f2));
	}
	
	public static float abs(float f) {
		return f<0? -f:f; 
	}
}
